﻿using RpcModel;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Interface
{
    public interface IServerTransmitCollect
    {
        long Add(ServerTransmitConfig add);
        void Delete(ServerTransmitConfig config);
        ServerTransmitConfig Get(long id);
        TransmitBasicConfig[] Query(TransmitQueryParam query, IBasicPage paging, out long count);
        void Set(ServerTransmitConfig config, TransmitSetParam set);
        void SetIsEnable(ServerTransmitConfig config, bool isEnable);
        void CheckRepeat(long rpcMerId, long systemType, string scheme);
        void CheckRepeat(long rpcMerId, string scheme, long severId);
    }
}